@if (commentsEnabled) {
    <ion-item class="ion-text-wrap" (click)="showComments($event)" [detail]="true" button>
        <ion-label>
            <p class="item-heading">{{ plugin.name }}</p>
            <core-comments contextLevel="module" [instanceId]="assign.cmid" component="assignsubmission_comments" [itemId]="submission.id"
                area="submission_comments" [title]="plugin.name" [courseId]="assign.course" />
        </ion-label>
    </ion-item>
}
